home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1599 / 1460 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.6 KB

  1. From: Ulrich Kuehn <kuehn@GOEDEL.UNI-MUENSTER.DE>
  2. Subject: Re: GEMDOS re-entrancy 
  3. Date: Wed, 25 May 1994 10:09:46 +0200
  4.  
  5. Hello!
  6.  
  7. |>1) GEMDOS must be re-entrant.  It isn't.
  8. |>
  9. To make it clear: meant is the GEMDOS in the ROM, which is used by MiNT
  10. as filesystem and as provider for some other I/O services, right?
  11.  
  12. |>2) Process B must not make a GEMDOS call.  This could lead to some weird
  13. |>   multitasking.  I guess it would work, but halting the AES when a program
  14. |>   tries to load fonts could get kinda hairy.  Processes that can't call
  15. |>   GEMDOS cannot accept input or display output.  This will work, but it's
  16. |>   hairy.
  17. |>
  18. The AES does not make direct jumps into the GEMDOS in ROM, it goes via
  19. trap vector, so it will first run through the MiNT kernel. But for disk
  20. accesses, it will be blocked anyway, as there is no way to run two trans-
  21. fers simultaniously :)
  22. But all the other MiNT services which do not rely on the old GEMDOS are
  23. not affected.
  24.  
  25. |>3) Make process A sleep OUTSIDE GEMDOS.  There must be some way to clean up
  26. |>   GEMDOS while process A sleeps, perhaps exiting GEMDOS and putting the
  27. |>   process on some sort of wait queue.  Then have the process re-enter
  28. |>   GEMDOS when the IO is complete.  There has GOT to be some way to clean
  29. |>   things up.
  30. |>
  31. |>I'd rather make GEMDOS re-entrant, but failing that perhaps option 3 could
  32. |>be implemented?
  33. |>
  34. Sounds sort of difficult. Do you have the complete source of Gemdos? A
  35. better choice would be to have a tos xfs, then we get rid of a whole
  36. pile of problems at once. May be the linux sources can be modified
  37. easily?
  38.  
  39. Regards,
  40. Ulrich
  41.  
  42.